﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RSD.Scripting.Expressions
{
    using Robot;

    public class StopExpression : BaseExpression
    {
        public Axis Axis
        {
            get;
            private set;
        }

        public StopExpression(string axis)
        {
            char robotAxis;

            if (char.TryParse(axis, out robotAxis))
            {
                this.Axis = (Axis)robotAxis;
            }            
        }
    }
}
